package com.twp.auth.repository.user;

import com.twp.auth.domain.authority.user.ManageUser;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.stereotype.Repository;

@Repository
public interface ManageUserRepository extends JpaRepository<ManageUser, Integer>, JpaSpecificationExecutor<ManageUser> {
    ManageUser findAllByUserNameAndStatus(String userName,Integer status);

    ManageUser findAllByIdAndStatus(Integer userName,Integer status);
}
